package edu.zju.gis.dldsj.dao;

import edu.zju.gis.dldsj.base.BaseMapper;
import edu.zju.gis.dldsj.entity.UserFavorite;

public interface UserFavoriteMapper extends BaseMapper<UserFavorite, String> {
    int deleteByPrimaryKey(String id);

    int insert(UserFavorite record);

    int insertSelective(UserFavorite record);

    UserFavorite selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(UserFavorite record);

    int updateByPrimaryKey(UserFavorite record);

    int deleteByDataId(String userId, String dataId, String dataType);
}